<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>

<link rel="stylesheet" type="text/css" href="http://localhost/youhuo/Static/Index/style/memberTop.css"/>
<!----------------顶部区域开始------------------>
<div id="topBox">
	<div id="top">
		<div class="logo">
			<a href="<?php echo U('Index/index');?>"><img src="http://localhost/youhuo/Static/Index/images/logo_e.png" alt="" /></a>
		</div>
		<p>
			<span>Hi~</span>
			    <?php if(isset($hd['session']['uid'])&&isset($hd['session']['uname'])){ ?>
				<span>Hi~<?php echo $hd['session']['uname'];?></span>
				<a class="member" href="<?php echo U('Member/out');?>">退出</a>
			<?php }else{ ?>
				<a class="member" href="<?php echo U('Member/login');?>">[请登录 ]</a>
				|
				<a class="member" href="<?php echo U('Member/register');?>">[免费注册] </a>
			<?php } ?>
			<a href="" class="mar">MY有货</a>
			<a href="" class="mar">订单中心</a>
			<a href="" class="mar">帮助中心</a>
			<span class="tel"><img src="http://localhost/youhuo/Static/Index/images/phone.png" alt="" />400-889-9646</span>
		</p>
	</div>
</div>	
<!----------------顶部区域结束------------------>	
